// 自动生成模板WorkflowStruct
package system1

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 审批流 结构体  WorkflowStruct
type WorkflowDef struct {
	global.GVA_MODEL
	Name      string `json:"name" form:"name" gorm:"column:name;comment:;size:100;"`              //名称
	Flowdata  string `json:"flowdata" form:"flowdata" gorm:"type:text;column:flowdata;comment:;"` //流程数据
	CreatedBy uint   `gorm:"column:created_by;comment:创建者"`
	UpdatedBy uint   `gorm:"column:updated_by;comment:更新者"`
	DeletedBy uint   `gorm:"column:deleted_by;comment:删除者"`
}

// TableName 审批流 WorkflowStruct自定义表名 workflow
func (WorkflowDef) TableName() string {
	return "workflow_def"
}
